package com.design.strategy.general;

public class Client {

    public static void main(String[] args) {
        // 创建对象
        ConcretePrototype prototype = new ConcretePrototype();
        prototype.setAge(18);
        prototype.setName("lisa");
        System.out.println(prototype);


        //拷贝对象
        ConcretePrototype cloneType = prototype.clone();
        System.out.println(cloneType);
    }
}
